<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/html">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>故事专辑</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"><!-- 确保适当的绘制和触屏缩放 -->
	<link rel="stylesheet" href="{$url_css}bootstrap.min.css" type="text/css">
	<link rel="stylesheet" href="{$url_css}admin.css" type="text/css">
	<script type="text/javascript" src="{$url_js}jquery-2.2.0.min.js"></script>
	<script type="text/javascript" src="{$url_js}bootstrap.min.js"></script>

	<link rel="stylesheet" href="{$url_css}sweet-alert.css"/>
	<script type="text/javascript" src="{$url_js}sweet-alert.min.js"></script>

	<style type="text/css">
		{literal}
		.page_info div {
			display: inline-block;
		}

		.page_info .p_l {
			color: #666;
			float: left;
			line-height: 69px;
			font-size: 16px;
		}

		.page_info .p_r {
			color: #337AB7;
			float: right;
		}

		{/literal}
	</style>
</head>
<body>

<div class="container" style="width:96%">
	<form action="?do=Default" method="get">
		<table class="table table-bordered table-striped" align="center">
			<tr>
				<td colspan="5">查询条件</td>
			</tr>
			<tr>
				<td class="form-group col-xs-2">
					<div class="input-group">
						<div class="input-group-addon">用户ID</div>
						<input type="text" class="form-control" name="UserId" placeholder="用户ID"
						       value="{$param['UserId']}">
					</div>
				</td>
				<td class="form-group col-xs-2">
					<div class="input-group">
						<div class="input-group-addon">用户名称</div>
						<input type="text" class="form-control" name="NickName" placeholder="用户名称"
						       value="{$param['NickName']}">
					</div>
				</td>
				<td class="form-group col-xs-2">
					<div class="input-group">
						<div class="input-group-addon">性别</div>
						<select class="form-control" name="Sex">
							<option value="" {if $param['Sex'] == ''}selected=""{/if}>全部</option>
							<option value="1" {if $param['Sex'] == 1}selected=""{/if}>男</option>
							<option value="2" {if $param['Sex'] == 2}selected=""{/if}>女</option>
						</select>
					</div>
				</td>
				<td class="form-group col-xs-2">
					<div class="input-group">
						<div class="input-group-addon">手机</div>
						<input type="text" class="form-control" name="Mobile" placeholder="用户手机"
						       value="{$param['Mobile']}">
					</div>
				</td>
				<td class="form-group col-xs-2" colspan="3" align="right">
					<input type="submit" value="搜索" class="btn btn-primary"/>
				</td>
			</tr>
		</table>
	</form>
</div>

<div class="container" style="width:96%">
	<table class="table table-bordered table-striped" align="center">
		<thead>
		<tr>
			<th>用户ID</th>
			<th>昵称</th>
			<th>手机</th>
			<th>金果数</th>
			<th>是否是商家</th>
			<th>操 作</th>
		</tr>
		</thead>
		<tbody>
		{foreach $list  as $k=> $v}
			<tr style="height: 60px; overflow: hidden">
				<td>{$v['UserId']}</td>
				<td>{$v['UserNick']}</td>
				<td>{$v['Mobile']}</td>
				<td>{$v['JCoin']}</td>
				<td>{if $v['IsShop'] == 1}是{else}否{/if}</td>
				<td align="center">
				</td>
			</tr>
		{/foreach}
		<tr>
			<td colspan="11" align="right">
				<div class="page_info">
					{if $page_info['count']}
						<div class="p_l">一共 {$page_info['count']} 条数据,共 {$page_info['page']} 页</div>
					{/if}
					<div class="p_r">{$pagination}</div>
				</div>
			</td>
		</tr>
		</tbody>
	</table>
</div>
</body>
</html>